package com.zhongfl.crm.mail.enums;

import lombok.Getter;

/**
 * 邮件类型枚举
 */
public enum MailTypeEnum {
    /**
     * 励销同步服务监控
     */
    TEST_NOFITY(0, "测试", "mail/test.ftl"),
    LX_DEPARTMENT_SYNC_ERROR(1000, "励销部门同步异常", "mail/LXDepartmentSyncNotify.ftl"),
    LX_USER_SYNC_ERROR(2000, "励销用户数据同步异常", "mail/LXUserSyncNotify.ftl"),
    LX_ORDER_SYNC_ERROR(3000, "励销订单数据同步异常", "mail/LXOrderSyncNotify.ftl"),
    LX_REVISIT_LOG_SYNC_ERROR(4000, "励销跟进记录数据同步异常", "mail/LXRevisitLogSyncNotify.ftl"),
    BOSS_ORDER_MEMORANDUM_SYNC_ERROR(5000, "同步BOSS备忘录到励销数据同步异常", "mail/OrderMemorandumSyncNotify.ftl"),
    LX_ORDER_INIT_SYNC_NOTICE(6000, "励销订单初始化异常数据通知", "mail/LXOrderInitSyncNotify.ftl"),
    LX_CHANNEL_SYNC_NOTICE(7000, "励销渠道异常数据通知", "mail/LXChannelSyncNotify.ftl"),
    ORDER_CONTRAST_RESULT(8000,"订单对比结果通知","mail/OrderContrastResult.ftl"),
    ORDER_CONTRAST_ERROR(9000,"订单对比异常通知","mail/OrderContrastError.ftl"),
    NOTIFY_ERROR(10000,"消息异常通知","mail/NotifyError.ftl"),
    UPDATE_CUSTOMER_ORDER_ERROR(11000,"更新BOSS客户订单信息异常通知","mail/customerOrderError.ftl"),
    DELIVER_ORDER_VS_BATTLE_RESULT(12000, "BOSS-战报对比服务结果", "mail/battleCompare.ftl"),
    STAFF_TO_BOSS_SYNC(13000,"STAFF-BOSS同步员工结果","mail/StaffUser2BossSyncNotify.ftl");

    @Getter
    private Integer id;
    @Getter
    private String title;
    @Getter
    private String template;


    MailTypeEnum(Integer id, String title, String template) {
        this.id = id;
        this.title = title;
        this.template = template;
    }
}
